@tailwind base;
@tailwind components;
@tailwind utilities;

* {
	cursor: default !important;
}

html {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
	-webkit-font-smoothing: subpixel-antialiased;
	font-size: 13px;
}

@media (prefers-color-scheme: dark) {
	html {
		background-color: rgb(24,24,28,0.5);
	}
}

html, body {
	height: 100%;
	width: 100%;
	position: fixed;
	overflow: hidden;
	overscroll-behavior-y: none;
	
}

::-webkit-scrollbar-track
{
	background: transparent;
	border-radius: 2px;
	padding: 2px;
	padding-right: 10px;
}

::-webkit-scrollbar
{
	width: 12px;
	width: 6px;
	background: transparent;
	margin-right: 50px;
}

::-webkit-scrollbar-thumb
{
	border-radius: 2px;
	width: 6px;
	background: rgba(160,160,160,0.5);
}

/* Credit: https://stackoverflow.com/a/4407335 */
.noselect {
	cursor: default;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
.allow-select {
	-webkit-touch-callout: initial; /* iOS Safari */
	-webkit-user-select: initial; /* Safari */
	-khtml-user-select: initial; /* Konqueror HTML */
	-moz-user-select: initial; /* Old versions of Firefox */
	-ms-user-select: initial; /* Internet Explorer/Edge */
	user-select: initial; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
